export interface config {
  id?: number;
  title?: string;
  name?: string;
  group_id?: number;
  type?: string;
  options?: [{
    key?:string,
    value?:string
  }];
  sort?: number;
  is_hid?: number;
  description?: string;
  value?: string;
  created_at: string;
  updated_at: string;
}

export interface configForm {
  id?: number;
  title?: string;
  name?: string;
  group_id?: number;
  type?: string;
  sort?: number;
  options?: string;
  is_hid?: number;
  description?: string;
  value?: string;
}

export interface configGroup {
  data?: config[];
  id?: number;
  title?: string;
  tab_name?: string;
  sort?: number;
  is_hid?: number;
  created_at: string;
  updated_at: string;
}

export interface configGroupForm {
  id?: number;
  title?: string;
  tab_name?: string;
  sort: number;
  is_hid: number;
}

export interface configQuery extends PageQuery {
  title?: string;
  is_hid?: number;
  id?: number;
}
